<!DOCTYPE html>
<html>
<head>
<title>注册 - {config[webname]} - {config[webtitle]}</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="{config[keyword]}">
<script type="text/javascript" src="js/jquery-ui-1.8.16/jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<link rel="stylesheet" type="text/css" href="styles/common.css" />
<link rel="stylesheet" type="text/css" href="styles/table.css" />
<style>
.main{
	margin:0px auto;
	width:600px;
	font-size:14px;
}
.f1_error{font-size:12px;}
#form1 label{
	width:50px;
}
#form1 .f1_field input{
	width:300px;
}
#form2 label{
	width:100px;
}
</style>
</head>
<body>
<!--#include file="header.html"-->
<div class="main">
	<div class="f1">
		<div class="f1_header">重置密码</div>
		<!-- if($_GET[vkey]) -->
			<!-- if($pwdchanged) -->
			<p>密码修改成功，请用新密码<a href="login.php" style="color:blue;padding:2px">登录</a></p>
			<!-- else -->
			<div class="f1_content">
				<form action="resetpwd.php?vkey={_GET[vkey]}" id="form2" method="post">
					<div class="f1_row">
						<label>您的新密码</label>
						<span class="f1_field"><input name="pwd" type="password" value="{_POST[pwd]}"></span>
						<!-- if($err_pwd) --><span class="f1_error">{err_pwd}</span><!-- else --><span class="f1_hint">6到40位</span><!-- end -->
					</div>
					<div class="f1_row">
						<label>再输入一次密码</label>
						<span class="f1_field"><input name="pwd2" type="password" value="{_POST[pwd2]}"></span>
						<!-- if($err_pwd2) --><span class="f1_error">{err_pwd2}</span><!-- end -->
					</div>
					<div class="f1_row"><label></label><span class="f1_btn"><input class="btn" type="submit" name="reset" value="修改"></span></div>
				</form>
			</div>
			<!-- end -->
		<!-- else -->
			<!-- if($sendmail) -->
			<div class="f1_content">
				重置密码的邮件已发送，请查收！
			</div>
			<!-- else -->
			<div class="f1_subheader">请在下面输入您注册时用的邮箱，我们会给您发一封含有重置密码链接的邮件。</div>
			<div class="f1_content">
				<form action="resetpwd.php" id="form1">
					<div class="f1_row">
						<label>邮箱：</label>
						<span class="f1_field"><input name="email"></span>
						<!-- if($err) --><span class="f1_error">{err}</span><!-- end -->
					</div>
					<div class="f1_row">
						<label></label>
						<span class="f1_btn"><input class="btn" type="submit" value="提交"></span>
					</div>
				</form>
			</div>
			<!-- end -->
		<!-- end -->
	</div>
</div>
</body>
</html>